{% extends 'base.html' %}
{% load mymarkdown %}

{% block title %}详情内容{% endblock %}

{% block left %}
    <div style="margin-left:20px">
        <h3>{{post.title}}</h3>
        <time>{{post.created|date:'Y-m-d H:i:s'}}</time>&emsp;
        <span>{{post.category.category}}：</span>

        {% for tag in post.tag.all %}
            <span>{{tag.tag}}</span>
        {% endfor %}
        <hr />
        {{post.content|md|safe}}
        <hr />

        <img src="/static/img/line.gif" height="1px" width="100%">
    </div>
{% endblock %}